home *** CD-ROM | disk | FTP | other *** search
/ Informática Multimedia 1995 April / Informatica Multimedia CD - Epimundo.iso / DOS / FILECOPY / DELBUT.ZIP / DELBUT2.DOC < prev   
Encoding:
Text File  |  1988-08-29  |  2.7 KB  |  64 lines

  1.         DELBUT V 2.1    (minor fix)    by J.E. Arkay 6/07/88        
  2.  
  3. Deletes all but a given filespec in one directory.  Useful for managing your
  4. RAM disk.
  5.  
  6.   *** TESTED, BUT NOT VERY MUCH *** *** TRY IT ON A SCRATCH DISK FIRST ***
  7.  
  8. Syntax:        [d:][\path\]DELBUT2 [d:][\path\]filename.ext
  9.  
  10. It will not delete a Hidden or Read-Only file; it can delete itself.
  11.  
  12. Its use of wildcards is now just like DOS (which sucks, but won't surprise you):
  13.   DELBUT ?????.?? matches ABCDE.12 and ABCD.12 and ABC.1 but not ABCD.123
  14.  
  15. For example, on our AT clone with extended memory, we use a DOS shell that runs
  16. faster from a RAM disk.  When we start AutoCAD or copy a 1.2 Meg floppy, we use
  17. DELBUT in a batch file to erase the RAM disk except for the DOS shell.
  18.  
  19. You can use it in a batch file where DEL *.* would give its 'Y/N' message and
  20. require a keypress.  Example to DEL D:\MY-DIR\*.*:
  21.  
  22.         create a 1-byte file named X (DOS won't copy a zero-byte file)
  23.         COPY X D:\MY-DIR
  24.         DELBUT D:\MY-DIR\X
  25.  
  26. It returns Errorlevel=1 if nothing is deleted or an error occurs.
  27.  
  28. For instructions, TYPE or edit the .COM file or run it with no command line.
  29.  
  30.          ----------------end-of-author's-documentation---------------
  31.  
  32.                         Software Library Information:
  33.  
  34.                    This disk copy provided as a service of
  35.  
  36.                         The Public (Software) Library
  37.  
  38.          We are not the authors of this program, nor are we associated
  39.          with the author in any way other than as a distributor of the
  40.          program in accordance with the author's terms of distribution.
  41.  
  42.          Please direct shareware payments and specific questions about
  43.          this program to the author of the program, whose name appears
  44.          elsewhere in  this documentation. If you have trouble getting
  45.          in touch with the author,  we will do whatever we can to help
  46.          you with your questions. All programs have been tested and do
  47.          run.  To report problems,  please use the form that is in the
  48.          file PROBLEM.DOC on many of our disks or in other written for-
  49.          mat with screen printouts, if possible.  The P(s)L cannot de-
  50.          bug programs over the telephone.
  51.  
  52.          Disks in the P(s)L are updated monthly, so if you did not get
  53.          this disk  directly from the P(s)L,  you should be aware that
  54.          the files in this set may no  longer be the current versions.
  55.  
  56.          For a copy of the latest monthly software library newsletter
  57.          and a list of the 1,400+ disks in the library, call or write
  58.  
  59.                         The Public (Software) Library
  60.                               P.O.Box 35705 - F
  61.                            Houston, TX 77235-5705
  62.                                (713) 665-7017
  63.  
  64.